from fastapi import APIRouter

user = APIRouter()


@user.get('/username')
def username():
    return {"username": "zhangsan"}


@user.get('/usercode')
def usercode():
    return {"usercode": "bed"}
